package net.wsfcp.android.http.mvp.contract;

import net.wsfcp.android.bean.requestbean.ReqUpdateUserBean;
import net.wsfcp.android.bean.resultbean.QiniuUploadImageBean;

import java.io.File;

/**
 * Created by Shaoboyang on 2018/12/14.
 * 契约类,定义登录用到的一些接口方法
 */

public class InfoContract {

    public interface InfoView {

        void upLoadImageSuccess(QiniuUploadImageBean bean);

        void upLoadImageFail(String failMsg);

        void upDateUserSuccess();

        void upDateUserFail(String failMsg);


    }


    public interface InfoPresenter {
        void upLoadImg(File file, String fileName);

        void updateUser(ReqUpdateUserBean bean);

    }
}
